if (WIN32)
  add_executable(gammaray_wininjector wininjector-cli.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../core/injector/basicwindllinjector.cpp)
  if(CMAKE_SIZEOF_VOID_P EQUAL 8)
    set_target_properties(gammaray_wininjector PROPERTIES OUTPUT_NAME "gammaray-wininjector-x86_64")
  else()
    set_target_properties(gammaray_wininjector PROPERTIES OUTPUT_NAME "gammaray-wininjector-i686")
  endif()
  install(TARGETS gammaray_wininjector ${INSTALL_TARGETS_DEFAULT_ARGS})
endif()
